﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Core.Model;

namespace EzDesk.Core.ServiceImpl.Repositories.Interface
{
    public interface IPermissionRepository : IRepository<Permission> 
    {        
        bool GroupHasPermission(Guid permissionId, Guid groupId);
        void SetGroupPermission(Guid permissionId, Guid groupId, bool hasPermission);
    }
}